from api.ihrm_login_api import LoginApi


class TokenUtil:
    @classmethod
    def get_token(cls):
       token = LoginApi.login_api\
           (body={"mobile": "13800000002", "password": "123456"}).json().get('data')
       return token

if __name__ == '__main__':
    print(TokenUtil.get_token())